package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.ProductInfo;
import cn.wolfcode.crm.query.ProductInfoQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IProductInfoService {

    void deleteByPrimaryKey(Long id);

    void insert(ProductInfo record);

    ProductInfo selectByPrimaryKey(Long id);

    List<ProductInfo> selectAll();

    void updateByPrimaryKey(ProductInfo record);

    PageResult query(ProductInfoQueryObject qo);

    void changeSate(Long id);

    void shutDeduc(Long id);

    List<ProductInfo> queryProductForaiId(Long id);

    List<String> selectProductName();
}